//
//  ShangJiaoXiangQingView.h
//  SanYiTeaching
//
//  Created by 李文强 on 2019/4/11.
//  Copyright © 2019 李文强. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TWCell.h"
#import "SJXQHeaderView.h"
#import "SJXQHeaderTitleView.h"
#import "JiaoXueZuoYeLieBiaoModel.h"
#import "JiaoXueZuoYeShangJiaoXiangQingModel.h"
NS_ASSUME_NONNULL_BEGIN

//typedef void (^CellClickBack)(int index);
@protocol CellClickDelegate <NSObject>

@required
- (void)checkDetail:(JiaoXueZuoYeShangJiaoXiangQingModel *)model;

@end

@interface ShangJiaoXiangQingView : UIView<UITableViewDelegate,UITableViewDataSource>{
    int pageSize;
    int page;
}
@property (nonatomic, strong) UITableView *tableList;
@property (nonatomic, strong) SJXQHeaderView *headerView;
@property (nonatomic, strong) SJXQHeaderTitleView *titleView;
@property (nonatomic, assign) id<CellClickDelegate>mainDelegate;
@property (nonatomic, strong) JiaoXueZuoYeLieBiaoModel *model;
@property (nonatomic, strong) NSMutableArray *dataArray;
- (void)setValueForHeader;
@end

NS_ASSUME_NONNULL_END
